package com.ruoyi.project.system.domain;

import com.ruoyi.framework.web.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * (SysOrder)实体类
 *
 * @author makejava
 * @since 2020-02-23 13:40:10
 */
public class SysOrder  extends BaseEntity {
    private static final long serialVersionUID = -30413554545711019L;


    private String sysDeptImg;

    private String deptName;

    private String promotionInfo;

    private String description;

    private List<SysOrderDetail> details;

    /**
    * 订单id
    */
    private Long orderId;
    /**
    * 用户id
    */
    private Long userId;
    /**
    * 店铺id
    */
    private Long deptId;
    /**
    * 红包id
    */
    private Long discountId;
    /**
    * 订单状态   0-超时关闭 1-待支付 2-支付成功
    */
    private String payStatus;


    private String payStatusStr;

    private Integer time;
    /**
    * 支付方式  1-支付宝  2-微信
    */
    private String payType;
    /**
    * 订单编号
    */
    private String orderNo;
    /**
    * 配送状态 0-待接单 1-配送中 2-已完成 3-已取消
    */
    private String delivery;
    /**
    * 配送人id
    */
    private Long deliveryUserId;
    /**
    * 订单总价格
    */
    private Double orderTotal;
    /**
    * 商品价格
    */
    private Double foodTotal;
    /**
    * 包装费
    */
    private Double packingTotal;
    /**
    * 配送费
    */
    private Double floatDeliveryFee;
    /**
    * 红包金额
    */
    private Double discount;
    /**
    * 实付金额
    */
    private Double money;
    /**
    * 联系人
    */
    private String name;
    /**
    * 经纬度
    */
    private String geohash;
    /**
    * 联系电话
    */
    private String phone;
    /**
    * 详细地址
    */
    private String address;
    /**
    * 预计送达时间
    */
    private Date arriveTime;
    /**
    * 订单关闭时间
    */
    private Date timeout;
    /**
    * 订单支付时间
    */
    private Date payTime;
    /**
    * 创建者
    */
    private String createBy;
    /**
    * 创建时间
    */
    private Date createTime;
    /**
    * 更新者
    */
    private String updateBy;
    /**
    * 更新时间
    */
    private Date updateTime;
    /**
    * 备注
    */
    private String remark;


    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDiscountId() {
        return discountId;
    }

    public void setDiscountId(Long discountId) {
        this.discountId = discountId;
    }

    public String getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getDelivery() {
        return delivery;
    }

    public void setDelivery(String delivery) {
        this.delivery = delivery;
    }

    public Long getDeliveryUserId() {
        return deliveryUserId;
    }

    public void setDeliveryUserId(Long deliveryUserId) {
        this.deliveryUserId = deliveryUserId;
    }

    public Double getOrderTotal() {
        return orderTotal;
    }

    public void setOrderTotal(Double orderTotal) {
        this.orderTotal = orderTotal;
    }

    public Double getFoodTotal() {
        return foodTotal;
    }

    public void setFoodTotal(Double foodTotal) {
        this.foodTotal = foodTotal;
    }

    public Double getPackingTotal() {
        return packingTotal;
    }

    public void setPackingTotal(Double packingTotal) {
        this.packingTotal = packingTotal;
    }

    public Double getFloatDeliveryFee() {
        return floatDeliveryFee;
    }

    public void setFloatDeliveryFee(Double floatDeliveryFee) {
        this.floatDeliveryFee = floatDeliveryFee;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGeohash() {
        return geohash;
    }

    public void setGeohash(String geohash) {
        this.geohash = geohash;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getArriveTime() {
        return arriveTime;
    }

    public void setArriveTime(Date arriveTime) {
        this.arriveTime = arriveTime;
    }

    public Date getTimeout() {
        return timeout;
    }

    public void setTimeout(Date timeout) {
        this.timeout = timeout;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }


    public String getPayStatusStr() {
        return payStatusStr;
    }

    public void setPayStatusStr(String payStatusStr) {
        this.payStatusStr = payStatusStr;
    }

    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

    public List<SysOrderDetail> getDetails() {
        return details;
    }

    public void setDetails(List<SysOrderDetail> details) {
        this.details = details;
    }

    public String getSysDeptImg() {
        return sysDeptImg;
    }

    public void setSysDeptImg(String sysDeptImg) {
        this.sysDeptImg = sysDeptImg;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getPromotionInfo() {
        return promotionInfo;
    }

    public void setPromotionInfo(String promotionInfo) {
        this.promotionInfo = promotionInfo;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}